package com.kk.constrants;

import org.springframework.stereotype.Component;

/**
 * @author kl
 * @version 1.0
 * @description:  redis的常量
 * @date 2025/10/14 下午3:22
 */
public class RedisConstants {

    public static final String USER_PREFIX = "user:";

    public static final long CACHE_EXPIRE_TIME =   3600 ;

    /**
     * 验证码Redis Key前缀
     */
    public static final String CAPTCHA_KEY_PREFIX = "captcha:";

    /**
     * 验证码过期时间（分钟）
     */
    public static final long CAPTCHA_EXPIRE_TIME = 5;
}
